@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

.my-posts-container {
	background-color: #f7f8fc;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* 统计区域 */
.stats-section {
	display: flex;
	justify-content: space-around;
	padding: 20px;
	background: white;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.stat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.stat-icon {
	font-size: 20px;
	color: #7B68EE;
}
.number {
	font-size: 20px;
	font-weight: 600;
	color: #333;
}
.label {
	font-size: 13px;
	color: #888;
}

/* 动态列表 */
.post-list {
	flex: 1;
	padding: 15px;
	height: 100%;
}

.empty-state {
	text-align: center;
	padding-top: 80px;
}
.empty-icon {
	font-size: 50px;
	color: #ccc;
}
.empty-text {
	display: block;
	margin: 15px 0;
	color: #999;
}
.empty-btn {
	background-color: #7B68EE;
	color: white;
	border-radius: 20px;
	padding: 8px 20px;
	font-size: 14px;
}

.post-item {
	background: white;
	border-radius: 12px;
	margin-bottom: 15px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.06);
	overflow: hidden;
}
.post-main {
	padding: 15px;
}
.post-meta {
	margin-bottom: 10px;
}
.post-time {
	font-size: 13px;
	color: #999;
}
.post-content {
	font-size: 15px;
	color: #333;
	line-height: 1.6;
}

.post-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fafafa;
	padding: 10px 15px;
	border-top: 1px solid #f0f0f0;
}
.post-stats {
	display: flex;
	gap: 15px;
}
.stat-item {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #666;
}
.post-actions .action-btn {
	font-size: 13px;
	padding: 4px 12px;
	border-radius: 15px;
	background: none;
}
.delete {
	background-color: #ffebee;
	color: #f44336;
	border: 1px solid #ffcdd2;
} 